package org.grow.erp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.erp.entity.Student;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    List<Student> findStuByName(@Param("name") String name);
    List<Student> findStuDomainByName(@Param("name") String name);
    IPage<Student> findStuDomainByName(IPage<Student> page, @Param("name") String name);
    List<Student> findStuDomain2ByName(@Param("name") String name);
    IPage<Student> findStuDomain2ByName(IPage<Student> page,@Param("name") String name);
    List<Integer> findStuDomain3ByName(@Param("name") String name);
    IPage<Integer> findStuDomain3ByName(IPage<Student> page,@Param("name") String name);
    List<Student> findStuDomain4ByIds(@Param("ids") List<Integer> ids);
}